net/http.persistConn.idleTimer (field)
6 uses
net/http (current package)
transport.go#L1008: if pconn.idleTimer != nil {
transport.go#L1009: pconn.idleTimer.Reset(t.IdleConnTimeout)
transport.go#L1011: pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
transport.go#L1116: if pconn.idleTimer != nil {
transport.go#L1117: pconn.idleTimer.Stop()
transport.go#L1926: idleTimer *time.Timer // holding an AfterFunc to close it
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |